package priv.conceit.study.book.thread.chapter1.parts4;

/**
 * 1.4.3
 * 线程模拟银行抽号机测试类
 *
 * @author Conceit
 * 2019/6/4 增加方法
 * @since 1.0.0, 2019/6/4
 */

public class TicketWindowTest {


	public static void main(String[] args) {
		TicketWindow ticketWindow1 = new TicketWindow();
		ticketWindow1.setWindowName("ticketWindow1");
		ticketWindow1.start();

		TicketWindow ticketWindow2 = new TicketWindow();
		ticketWindow2.setWindowName("ticketWindow2");
		ticketWindow2.start();

		TicketWindow ticketWindow3 = new TicketWindow();
		ticketWindow3.setWindowName("ticketWindow3");
		ticketWindow3.start();

		TicketWindow ticketWindow4 = new TicketWindow();
		ticketWindow4.setWindowName("ticketWindow4");
		ticketWindow4.start();
	}

}
